package com.huawei.hmsdemo10086.POJO;

import java.io.Serializable;

public class Car  implements Serializable {
    int userid;
    int goodsid;
    int num;
    int orderid;
    Goods goods;

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public int getOrderid() {
        return orderid;
    }

    public void setOrderid(int orderid) {
        this.orderid = orderid;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(int goodsid) {
        this.goodsid = goodsid;
    }

    @Override
    public String toString() {
        return "Car{" +
                "userid=" + userid +
                ", goodsid=" + goodsid +
                ", num=" + num +
                ", orderid=" + orderid +
                ", goods=" + goods +
                '}';
    }
}
